--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -451,8 +451,6 @@ configure_file(json.h.cmakein ${PROJECT_
 include_directories(${PROJECT_SOURCE_DIR})
 include_directories(${PROJECT_BINARY_DIR})
 
-add_subdirectory(doc)
-
 # "uninstall" custom target for make generators in unix like operating systems
 # and if that target is not present
 if (CMAKE_GENERATOR STREQUAL "Unix Makefiles")
